﻿// <com.woyouqiu.Copyright>
// --------------------------------------------------------------
// <copyright>上海有求网络科技有限公司 2015</copyright>
// <Solution>MyCompany.MyProject</Solution>
// <Project>MyCompany.MyProject.Application</Project>
// <FileName>CategoryOutputDto.cs</FileName>
// <CreateTime>2017-04-17 23:53</CreateTime>
// <Author>何苗</Author>
// <Email>hemiao@woyouqiu.com</Email>
// <log date="2017-04-17 23:53" version="00001">创建</log>
// --------------------------------------------------------------
// </com.woyouqiu.Copyright>

using Abp.Application.Services.Dto;
using Abp.AutoMapper;

namespace Vecen.BangChuang.BangChuang.Products.Dto {
    /// <summary>
    /// 分类列表结构
    /// </summary>
    [AutoMapFrom(typeof(ProductCategory))]
    public class CategoryOutputDto:EntityDto {

        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        
        
        /// <summary>
        /// 商品数量
        /// </summary>
        public int ProductCount { get; set; }

        ///// <summary>
        ///// CODE全路径
        ///// </summary>
        //public string FullCode { get; set; }

        ///// <summary>
        ///// 父节点ID
        ///// </summary>
        //public int? ParentId { get; set; }
    }
}